package com.example.other.service;

import com.example.other.domain.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.other.domain.dto.OrderQueryParams;
import com.example.other.domain.dto.OrdersDto;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author Limhuang
* @description 针对表【orders】的数据库操作Service
* @createDate 2024-07-03 10:15:00
*/
public interface OrdersService extends IService<Orders> {

    Orders createOrder(Date date, Integer hpid, Integer smid) ;

    Orders cancelOrder(String id) ;

    Map<String, Object> listOrder(OrderQueryParams queryParams);
}
